import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

// 引入公共样式
import './styles/common.less'

// store.commit('user/setUser')
// 引入全局组件
import componentsAll from './components/index'
// 引入全局插件以及指令
import plugin from '@/directives'
// 全局注册
createApp(App).use(store).use(router).use(componentsAll).use(plugin).mount('#app')
